package com.lcq.gulimall.order.feign;

import com.lcq.common.utils.R;
import com.lcq.gulimall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("gulimall-member")
public interface MemberFeignService {
    @RequestMapping("member/memberreceiveaddress/list")
    List<MemberAddressVo> list(@RequestParam("memberId") Long memberId);

    @RequestMapping("member/memberreceiveaddress/fare")
    R fare(@RequestParam("addrId") Long addrId);
}
